package com.rtx.wms.std.express.service;

import java.util.List;

import com.rtx.edi.model.api.bo.ApiMappingInfoBo;
import com.rtx.wms.std.express.bean.ExpressOrders;

public interface ExpressOrdersService {

	/**
	 * 	抓取待获取快递单号数据
	 * @return
	 */
	List<ExpressOrders> queryOrdersKeys(String datasourcekey);
	
	/**
	 *  jitx的重新获取单号
	 * @return
	 */
	List<ExpressOrders> queryOrdersJitxKeys(String datasourcekey);
	
	/**
	 * jitx 获取打印数据
	 * @return
	 */
	List<ExpressOrders> queryOrdersjitxPrintData(String datasourcekey);
	
	
	/**
	 * 	更新状态
	 * @return
	 */
	int updExpressStatus(String datasourcekey,String status,String msg,String orderkey);
	
	/**
	 * 	更新快递单号以及打印报文其他信息
	 * @return
	 */
	int updExpressData(String datasourcekey,String rtxexpresskey,String printdate,String orderkey);
	
	/**
	 * 通过配置条件获取单号
	 * @param datasourcekey
	 * @param ediConfig
	 * @return
	 */
	List<ExpressOrders> queryByOrdersByConfig(String datasourcekey,ApiMappingInfoBo ediConfig);
}
